package org.example;

import io.jsonwebtoken.SignatureAlgorithm;
import org.example.utils.JwtUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;

/**
 * Description:
 *
 * @author shenguangyang
 */
@SpringBootApplication
public class ApiSafeApplication {
    public static void main(String[] args) {
        SpringApplication.run(ApiSafeApplication.class,args);
    }

    @PostConstruct
    public void init() {
        JwtUtils.init("23324234","112342424", SignatureAlgorithm.HS256);
    }
}
